<?php 

defined('_JEXEC') or die();

	for ($i=0; $i < count($this->data); $i++)
    {
        $row =& $this->data[$i];
        $checked = JHTML::_( 'grid.id', $i, $row->id );
 
        echo "<tr><td align=\"center\">".$checked."</td>";
            echo "<td align=\"center\">".$row->id."</td>";
			echo "<td align=\"center\">".$row->name."</td>";
			echo "<td align=\"center\">".$row->http_address."</td>";
			echo "<td align=\"center\">".$row->ftp_host."</td>";
			echo "<td align=\"center\">".$row->port."</td>";
			echo "<td align=\"center\">".$row->host_folder."</td>";
			echo "<td align=\"center\">".$row->ftp_user."</td>";
        echo "</tr>";
    }

//	foreach($this->data as $item) {
//		echo "<tr>";
//		echo "<td align=\"center\"><input type=\"checkbox\" /></td>";
//		echo "<td align=\"center\">".$item->id."</td>";
//		echo "<td align=\"center\">".$item->name."</td>";
//		echo "<td align=\"center\">".$item->http_address."</td>";
//		echo "<td align=\"center\">".$item->ftp_host."</td>";
//		echo "<td align=\"center\">".$item->port."</td>";
//		echo "<td align=\"center\">".$item->host_folder."</td>";
//		echo "<td align=\"center\">".$item->ftp_user."</td>";
//		echo "</tr>";
//	}
?>